﻿#include "DownloadFileResultFunc.h"

DownloadFileResultFunc::DownloadFileResultFunc(QObject *parent) :
    BaseFunc(parent)
{
    m_result = 0;
    m_functionCode = FunctionCode;
}

PortStruct DownloadFileResultFunc::target() const
{
    return m_target;
}

void DownloadFileResultFunc::setTarget(const PortStruct &target)
{
    m_target = target;
}

int DownloadFileResultFunc::result() const
{
    return m_result;
}

void DownloadFileResultFunc::setResult(int result)
{
    m_result = result;
}
